package lab02.test07;

public class Test {
    public static void main(String[] args) {
        Person chen =new Person();
        chen.name ="chengongsuo";
        chen.age =20;
        chen.idcard ="662661657435132456";
        System.out.println(chen.getString());
        Student zhen = new Student();
        zhen.name ="zhen";
        zhen.age =20;
        zhen.idcard ="5103221998151564";
        zhen.sno ="1606101356";
        zhen.university ="Sctu";
        System.out.println(zhen.getString());

    }
}
